package com.huai.dpxns.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huai.dpxns.dto.request.RoastRequest;
import com.huai.dpxns.dto.response.RoastResponse;
import com.huai.dpxns.entity.Roast;

/**
 * 吐槽接口
 *
 * @author: hdx
 * @Date: 2023-01-10 11:53
 * @version: 1.0
 **/
public interface RoastService extends IService<Roast> {

    void save(RoastRequest roastRequest);

    IPage<RoastResponse> page(RoastRequest roastRequest, Integer current, Integer  size);

    RoastResponse detail(String id);

}
